package com.mtbu.bean.base;
import java.util.*;
import java.text.SimpleDateFormat;
import org.json.JSONObject;
import my.json.core.JsonAble;
public abstract class BppChannelBase implements JsonAble {
    private Map<String, Object> dirtyProperties = new HashMap<String, Object>();
    //自增ID
    private int id = 0;
    //频道名
    private String title = "";
    //分集名称
    private String epTitle = "";
    //资源ID，对应点播的MD5,直播的GUID
    private String rID = "";
    //视频类型，0=直播,3=点播，4=二代直播,21=剧集,22=合集
    private int vT = 0;
    //基本分类ID
    private int cataID = 0;
    //剧集ID
    private int pID = 0;
    //分组ID
    private int gID = 0;
    //信息ID
    private int infoID = 0;
    //文件名
    private String fileName = "";
    //时长
    private int duration = 0;
    //码流率
    private int bitrate = 0;
    //文件大小
    private long fileSize = 0;
    //文件宽度
    private int weight = 0;
    //文件高度
    private int height = 0;
    //创建时间
    private Date createTime = null;
    //最近修改时间
    private Date updateTime = null;
    //状态：0=未处理，1=在线,3=下线，4=已删除
    private int status = 0;
    //权重
    private int rank = 0;
    //合集/剧集下 分集数量
    private int cnt = 0;
    //截图地址
    private String picUrl = "";
    //排序，0=正序，1=倒序
    private int orderType = 0;
    //片头截止时间，单位：秒，0表示无片头
    private int headTime = 0;
    //片尾开始时间，单位：秒，0表示无片尾
    private int tailTime = 0;
    //标签
    private String tag = "";
    //ch.vlg 0=国语,1=粤语,2=英语,3=韩语,4=日语
    private int videoLanguage = 0;
    //ch.vtp 0=常规,1=高清,2=蓝光,3=抢先版,4=片花
    private int videoType = 0;
    //操作日志
    private String opLog = "";
    //入库操作员
    private String userName = "";
    //内容类型，0=正片，1=预告，2=花絮
    private int contentType = 0;
    //1=剧场版,2=OVA,3=完结,4=连载,5=新番
    private int videoStatus = 0;
    //系列ID
    private int seriesID = 0;
    //主集ID
    private int mainID = 0;
    //字幕
    private int caption = 0;
    //片头开始时间
    private int headStart = 0;
    //片尾结束时间
    private int tailEnd = 0;
    //
    private String description = "";
    //
    private int ftAll = 0;
    //0=未删除, 1=已删除
    private int cDNDel = 0;
    //内容提供商
    private int cP = 0;
    //内容来源
    private int sourceFrom = 0;
    public int getId(){
        return this.id;
    }
    public void setId(int id){
        this.id = id;
    }
    public String getTitle(){
        return this.title;
    }
    public void setTitle(String title){
        this.title = title;
        dirtyProperties.put("title", title);
    }
    public String getEpTitle(){
        return this.epTitle;
    }
    public void setEpTitle(String epTitle){
        this.epTitle = epTitle;
        dirtyProperties.put("epTitle", epTitle);
    }
    public String getRID(){
        return this.rID;
    }
    public void setRID(String rID){
        this.rID = rID;
        dirtyProperties.put("rID", rID);
    }
    public int getVT(){
        return this.vT;
    }
    public void setVT(int vT){
        this.vT = vT;
        dirtyProperties.put("vT", vT);
    }
    public int getCataID(){
        return this.cataID;
    }
    public void setCataID(int cataID){
        this.cataID = cataID;
        dirtyProperties.put("cataID", cataID);
    }
    public int getPID(){
        return this.pID;
    }
    public void setPID(int pID){
        this.pID = pID;
        dirtyProperties.put("pID", pID);
    }
    public int getGID(){
        return this.gID;
    }
    public void setGID(int gID){
        this.gID = gID;
        dirtyProperties.put("gID", gID);
    }
    public int getInfoID(){
        return this.infoID;
    }
    public void setInfoID(int infoID){
        this.infoID = infoID;
        dirtyProperties.put("infoID", infoID);
    }
    public String getFileName(){
        return this.fileName;
    }
    public void setFileName(String fileName){
        this.fileName = fileName;
        dirtyProperties.put("fileName", fileName);
    }
    public int getDuration(){
        return this.duration;
    }
    public void setDuration(int duration){
        this.duration = duration;
        dirtyProperties.put("duration", duration);
    }
    public int getBitrate(){
        return this.bitrate;
    }
    public void setBitrate(int bitrate){
        this.bitrate = bitrate;
        dirtyProperties.put("bitrate", bitrate);
    }
    public long getFileSize(){
        return this.fileSize;
    }
    public void setFileSize(long fileSize){
        this.fileSize = fileSize;
        dirtyProperties.put("fileSize", fileSize);
    }
    public int getWeight(){
        return this.weight;
    }
    public void setWeight(int weight){
        this.weight = weight;
        dirtyProperties.put("weight", weight);
    }
    public int getHeight(){
        return this.height;
    }
    public void setHeight(int height){
        this.height = height;
        dirtyProperties.put("height", height);
    }
    public Date getCreateTime(){
        return this.createTime;
    }
    public String getCreateTime_ToDateString(){
        if(createTime==null) return "";
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
        return formatter.format(this.createTime);
    }
    public String getCreateTime_ToTimeString(){
        if(createTime==null) return "";
        SimpleDateFormat formatter = new SimpleDateFormat("HH:mm:ss");
        return formatter.format(this.createTime);
    }
    public String getCreateTime_ToDateTimeString(){
        if(createTime==null)   return "";
        SimpleDateFormat   formatter   =   new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return formatter.format(this.createTime);
    }
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
        dirtyProperties.put("createTime", createTime);
    }
    public Date getUpdateTime(){
        return this.updateTime;
    }
    public String getUpdateTime_ToDateString(){
        if(updateTime==null) return "";
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
        return formatter.format(this.updateTime);
    }
    public String getUpdateTime_ToTimeString(){
        if(updateTime==null) return "";
        SimpleDateFormat formatter = new SimpleDateFormat("HH:mm:ss");
        return formatter.format(this.updateTime);
    }
    public String getUpdateTime_ToDateTimeString(){
        if(updateTime==null)   return "";
        SimpleDateFormat   formatter   =   new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return formatter.format(this.updateTime);
    }
    public void setUpdateTime(Date updateTime){
        this.updateTime = updateTime;
        dirtyProperties.put("updateTime", updateTime);
    }
    public int getStatus(){
        return this.status;
    }
    public void setStatus(int status){
        this.status = status;
        dirtyProperties.put("status", status);
    }
    public int getRank(){
        return this.rank;
    }
    public void setRank(int rank){
        this.rank = rank;
        dirtyProperties.put("rank", rank);
    }
    public int getCnt(){
        return this.cnt;
    }
    public void setCnt(int cnt){
        this.cnt = cnt;
        dirtyProperties.put("cnt", cnt);
    }
    public String getPicUrl(){
        return this.picUrl;
    }
    public void setPicUrl(String picUrl){
        this.picUrl = picUrl;
        dirtyProperties.put("picUrl", picUrl);
    }
    public int getOrderType(){
        return this.orderType;
    }
    public void setOrderType(int orderType){
        this.orderType = orderType;
        dirtyProperties.put("orderType", orderType);
    }
    public int getHeadTime(){
        return this.headTime;
    }
    public void setHeadTime(int headTime){
        this.headTime = headTime;
        dirtyProperties.put("headTime", headTime);
    }
    public int getTailTime(){
        return this.tailTime;
    }
    public void setTailTime(int tailTime){
        this.tailTime = tailTime;
        dirtyProperties.put("tailTime", tailTime);
    }
    public String getTag(){
        return this.tag;
    }
    public void setTag(String tag){
        this.tag = tag;
        dirtyProperties.put("tag", tag);
    }
    public int getVideoLanguage(){
        return this.videoLanguage;
    }
    public void setVideoLanguage(int videoLanguage){
        this.videoLanguage = videoLanguage;
        dirtyProperties.put("videoLanguage", videoLanguage);
    }
    public int getVideoType(){
        return this.videoType;
    }
    public void setVideoType(int videoType){
        this.videoType = videoType;
        dirtyProperties.put("videoType", videoType);
    }
    public String getOpLog(){
        return this.opLog;
    }
    public void setOpLog(String opLog){
        this.opLog = opLog;
        dirtyProperties.put("opLog", opLog);
    }
    public String getUserName(){
        return this.userName;
    }
    public void setUserName(String userName){
        this.userName = userName;
        dirtyProperties.put("userName", userName);
    }
    public int getContentType(){
        return this.contentType;
    }
    public void setContentType(int contentType){
        this.contentType = contentType;
        dirtyProperties.put("contentType", contentType);
    }
    public int getVideoStatus(){
        return this.videoStatus;
    }
    public void setVideoStatus(int videoStatus){
        this.videoStatus = videoStatus;
        dirtyProperties.put("videoStatus", videoStatus);
    }
    public int getSeriesID(){
        return this.seriesID;
    }
    public void setSeriesID(int seriesID){
        this.seriesID = seriesID;
        dirtyProperties.put("seriesID", seriesID);
    }
    public int getMainID(){
        return this.mainID;
    }
    public void setMainID(int mainID){
        this.mainID = mainID;
        dirtyProperties.put("mainID", mainID);
    }
    public int getCaption(){
        return this.caption;
    }
    public void setCaption(int caption){
        this.caption = caption;
        dirtyProperties.put("caption", caption);
    }
    public int getHeadStart(){
        return this.headStart;
    }
    public void setHeadStart(int headStart){
        this.headStart = headStart;
        dirtyProperties.put("headStart", headStart);
    }
    public int getTailEnd(){
        return this.tailEnd;
    }
    public void setTailEnd(int tailEnd){
        this.tailEnd = tailEnd;
        dirtyProperties.put("tailEnd", tailEnd);
    }
    public String getDescription(){
        return this.description;
    }
    public void setDescription(String description){
        this.description = description;
        dirtyProperties.put("description", description);
    }
    public int getFtAll(){
        return this.ftAll;
    }
    public void setFtAll(int ftAll){
        this.ftAll = ftAll;
        dirtyProperties.put("ftAll", ftAll);
    }
    public int getCDNDel(){
        return this.cDNDel;
    }
    public void setCDNDel(int cDNDel){
        this.cDNDel = cDNDel;
        dirtyProperties.put("cDNDel", cDNDel);
    }
    public int getCP(){
        return this.cP;
    }
    public void setCP(int cP){
        this.cP = cP;
        dirtyProperties.put("cP", cP);
    }
    public int getSourceFrom(){
        return this.sourceFrom;
    }
    public void setSourceFrom(int sourceFrom){
        this.sourceFrom = sourceFrom;
        dirtyProperties.put("sourceFrom", sourceFrom);
    }
    public Map<String, Object> getDirtyProperties() {
        return this.dirtyProperties;
    }
    public JSONObject toJSON() throws Exception {
        JSONObject json = new JSONObject();
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        json.put("id", this.getId());
        if(title!=null){
           json.put("title",this.getTitle());
        }
        if(epTitle!=null){
           json.put("epTitle",this.getEpTitle());
        }
        if(rID!=null){
           json.put("rID",this.getRID());
        }
        json.put("vT", this.getVT());
        json.put("cataID", this.getCataID());
        json.put("pID", this.getPID());
        json.put("gID", this.getGID());
        json.put("infoID", this.getInfoID());
        if(fileName!=null){
           json.put("fileName",this.getFileName());
        }
        json.put("duration", this.getDuration());
        json.put("bitrate", this.getBitrate());
        json.put("fileSize", this.getFileSize());
        json.put("weight", this.getWeight());
        json.put("height", this.getHeight());
        if(createTime!=null){
            json.put("createTime",formatter.format(this.getCreateTime()));
        }
        if(updateTime!=null){
            json.put("updateTime",formatter.format(this.getUpdateTime()));
        }
        json.put("status", this.getStatus());
        json.put("rank", this.getRank());
        json.put("cnt", this.getCnt());
        if(picUrl!=null){
           json.put("picUrl",this.getPicUrl());
        }
        json.put("orderType", this.getOrderType());
        json.put("headTime", this.getHeadTime());
        json.put("tailTime", this.getTailTime());
        if(tag!=null){
           json.put("tag",this.getTag());
        }
        json.put("videoLanguage", this.getVideoLanguage());
        json.put("videoType", this.getVideoType());
        if(opLog!=null){
           json.put("opLog",this.getOpLog());
        }
        if(userName!=null){
           json.put("userName",this.getUserName());
        }
        json.put("contentType", this.getContentType());
        json.put("videoStatus", this.getVideoStatus());
        json.put("seriesID", this.getSeriesID());
        json.put("mainID", this.getMainID());
        json.put("caption", this.getCaption());
        json.put("headStart", this.getHeadStart());
        json.put("tailEnd", this.getTailEnd());
        if(description!=null){
           json.put("description",this.getDescription());
        }
        json.put("ftAll", this.getFtAll());
        json.put("cDNDel", this.getCDNDel());
        json.put("cP", this.getCP());
        json.put("sourceFrom", this.getSourceFrom());
        return json;
    }
    public void fromJSON(JSONObject json) throws Exception {
        if(json==null) return;
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        try{
            if(json.get("id") != null){
                this.setId(Integer.parseInt(json.get("id")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("title") != null){
                this.setTitle(json.get("title")+"");
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("epTitle") != null){
                this.setEpTitle(json.get("epTitle")+"");
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("rID") != null){
                this.setRID(json.get("rID")+"");
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("vT") != null){
                this.setVT(Integer.parseInt(json.get("vT")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("cataID") != null){
                this.setCataID(Integer.parseInt(json.get("cataID")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("pID") != null){
                this.setPID(Integer.parseInt(json.get("pID")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("gID") != null){
                this.setGID(Integer.parseInt(json.get("gID")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("infoID") != null){
                this.setInfoID(Integer.parseInt(json.get("infoID")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("fileName") != null){
                this.setFileName(json.get("fileName")+"");
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("duration") != null){
                this.setDuration(Integer.parseInt(json.get("duration")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("bitrate") != null){
                this.setBitrate(Integer.parseInt(json.get("bitrate")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("fileSize") != null){
                this.setFileSize(Long.parseLong(json.get("fileSize")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("weight") != null){
                this.setWeight(Integer.parseInt(json.get("weight")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("height") != null){
                this.setHeight(Integer.parseInt(json.get("height")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("createTime") != null){
                this.setCreateTime(formatter.parse(json.get("createTime")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("updateTime") != null){
                this.setUpdateTime(formatter.parse(json.get("updateTime")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("status") != null){
                this.setStatus(Integer.parseInt(json.get("status")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("rank") != null){
                this.setRank(Integer.parseInt(json.get("rank")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("cnt") != null){
                this.setCnt(Integer.parseInt(json.get("cnt")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("picUrl") != null){
                this.setPicUrl(json.get("picUrl")+"");
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("orderType") != null){
                this.setOrderType(Integer.parseInt(json.get("orderType")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("headTime") != null){
                this.setHeadTime(Integer.parseInt(json.get("headTime")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("tailTime") != null){
                this.setTailTime(Integer.parseInt(json.get("tailTime")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("tag") != null){
                this.setTag(json.get("tag")+"");
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("videoLanguage") != null){
                this.setVideoLanguage(Integer.parseInt(json.get("videoLanguage")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("videoType") != null){
                this.setVideoType(Integer.parseInt(json.get("videoType")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("opLog") != null){
                this.setOpLog(json.get("opLog")+"");
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("userName") != null){
                this.setUserName(json.get("userName")+"");
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("contentType") != null){
                this.setContentType(Integer.parseInt(json.get("contentType")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("videoStatus") != null){
                this.setVideoStatus(Integer.parseInt(json.get("videoStatus")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("seriesID") != null){
                this.setSeriesID(Integer.parseInt(json.get("seriesID")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("mainID") != null){
                this.setMainID(Integer.parseInt(json.get("mainID")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("caption") != null){
                this.setCaption(Integer.parseInt(json.get("caption")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("headStart") != null){
                this.setHeadStart(Integer.parseInt(json.get("headStart")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("tailEnd") != null){
                this.setTailEnd(Integer.parseInt(json.get("tailEnd")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("description") != null){
                this.setDescription(json.get("description")+"");
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("ftAll") != null){
                this.setFtAll(Integer.parseInt(json.get("ftAll")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("cDNDel") != null){
                this.setCDNDel(Integer.parseInt(json.get("cDNDel")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("cP") != null){
                this.setCP(Integer.parseInt(json.get("cP")+""));
            }
        }catch(Exception ex){
        }
        try{
            if(json.get("sourceFrom") != null){
                this.setSourceFrom(Integer.parseInt(json.get("sourceFrom")+""));
            }
        }catch(Exception ex){
        }
    }
    public void fromMap(Map<String, String> json) throws Exception {
        if(json==null) return;
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        try {
            if(json.containsKey("id".toLowerCase())){
                this.setId(Integer.parseInt(json.get("id".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("title".toLowerCase())){
                this.setTitle(json.get("title".toLowerCase())+"");
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("epTitle".toLowerCase())){
                this.setEpTitle(json.get("epTitle".toLowerCase())+"");
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("rID".toLowerCase())){
                this.setRID(json.get("rID".toLowerCase())+"");
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("vT".toLowerCase())){
                this.setVT(Integer.parseInt(json.get("vT".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("cataID".toLowerCase())){
                this.setCataID(Integer.parseInt(json.get("cataID".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("pID".toLowerCase())){
                this.setPID(Integer.parseInt(json.get("pID".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("gID".toLowerCase())){
                this.setGID(Integer.parseInt(json.get("gID".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("infoID".toLowerCase())){
                this.setInfoID(Integer.parseInt(json.get("infoID".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("fileName".toLowerCase())){
                this.setFileName(json.get("fileName".toLowerCase())+"");
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("duration".toLowerCase())){
                this.setDuration(Integer.parseInt(json.get("duration".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("bitrate".toLowerCase())){
                this.setBitrate(Integer.parseInt(json.get("bitrate".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("fileSize".toLowerCase())){
                this.setFileSize(Long.parseLong(json.get("fileSize".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("weight".toLowerCase())){
                this.setWeight(Integer.parseInt(json.get("weight".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("height".toLowerCase())){
                this.setHeight(Integer.parseInt(json.get("height".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("createTime".toLowerCase())){
                this.setCreateTime(formatter.parse(json.get("createTime".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("updateTime".toLowerCase())){
                this.setUpdateTime(formatter.parse(json.get("updateTime".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("status".toLowerCase())){
                this.setStatus(Integer.parseInt(json.get("status".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("rank".toLowerCase())){
                this.setRank(Integer.parseInt(json.get("rank".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("cnt".toLowerCase())){
                this.setCnt(Integer.parseInt(json.get("cnt".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("picUrl".toLowerCase())){
                this.setPicUrl(json.get("picUrl".toLowerCase())+"");
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("orderType".toLowerCase())){
                this.setOrderType(Integer.parseInt(json.get("orderType".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("headTime".toLowerCase())){
                this.setHeadTime(Integer.parseInt(json.get("headTime".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("tailTime".toLowerCase())){
                this.setTailTime(Integer.parseInt(json.get("tailTime".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("tag".toLowerCase())){
                this.setTag(json.get("tag".toLowerCase())+"");
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("videoLanguage".toLowerCase())){
                this.setVideoLanguage(Integer.parseInt(json.get("videoLanguage".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("videoType".toLowerCase())){
                this.setVideoType(Integer.parseInt(json.get("videoType".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("opLog".toLowerCase())){
                this.setOpLog(json.get("opLog".toLowerCase())+"");
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("userName".toLowerCase())){
                this.setUserName(json.get("userName".toLowerCase())+"");
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("contentType".toLowerCase())){
                this.setContentType(Integer.parseInt(json.get("contentType".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("videoStatus".toLowerCase())){
                this.setVideoStatus(Integer.parseInt(json.get("videoStatus".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("seriesID".toLowerCase())){
                this.setSeriesID(Integer.parseInt(json.get("seriesID".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("mainID".toLowerCase())){
                this.setMainID(Integer.parseInt(json.get("mainID".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("caption".toLowerCase())){
                this.setCaption(Integer.parseInt(json.get("caption".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("headStart".toLowerCase())){
                this.setHeadStart(Integer.parseInt(json.get("headStart".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("tailEnd".toLowerCase())){
                this.setTailEnd(Integer.parseInt(json.get("tailEnd".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("description".toLowerCase())){
                this.setDescription(json.get("description".toLowerCase())+"");
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("ftAll".toLowerCase())){
                this.setFtAll(Integer.parseInt(json.get("ftAll".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("cDNDel".toLowerCase())){
                this.setCDNDel(Integer.parseInt(json.get("cDNDel".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("cP".toLowerCase())){
                this.setCP(Integer.parseInt(json.get("cP".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
        try {
            if(json.containsKey("sourceFrom".toLowerCase())){
                this.setSourceFrom(Integer.parseInt(json.get("sourceFrom".toLowerCase())+""));
            }
        }catch(Exception ex){
        }
    }
}
